public class BinaryNode<T> {
    T val;
    BinaryNode<T> left;
    BinaryNode<T> right;

    public BinaryNode(T data){
        this.val = data;
    }
    public BinaryNode(T data, BinaryNode<T> left, BinaryNode<T> right){
        this.val = data;
        this.left = left;
        this.right = right;
    }
}
